# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer:
pkgname=py3-mautrix
pkgver=0.8.16
pkgrel=2
pkgdesc="A Python 3 asyncio Matrix framework"
url="https://github.com/tulir/mautrix-python"
arch="noarch"
license="MPL-2.0"
depends="
	py3-aiohttp
	py3-attrs
	py3-commonmark
	py3-lxml
	py3-ruamel.yaml
	py3-sqlalchemy
	python3
	"
makedepends="py3-setuptools"
source="https://github.com/tulir/mautrix-python/archive/v$pkgver/mautrix-python-v$pkgver.tar.gz"
options="!check" # No tests
builddir="$srcdir/mautrix-python-$pkgver"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="
db153fc71c5d743d70378d4cbc779899d0895347fa8c6064b2f75001799f6cf1664b117085ea1767eeb1ba90a3b0680a8c5af3ce0d7f686b02690225af58149f  mautrix-python-v0.8.16.tar.gz
"
